import React, { Component } from 'react'
import LogoImage from '../components/Kimage'
import logo from '../style/images/logo.png'
import '../style/less/login/login.less'
import Input from '../components/Kinput'
import '../style/images/font_2431535_p9w6nubf55o/iconfont.css'
import Btn from '../components/Kbutton'
import {hashHistory} from 'react-router'
export default class login extends Component {
    loginClick(){
        hashHistory.push('/home')
    }
    render() {
        return (
            <div className="login-box">
                <LogoImage src={logo} />
                <Input icon='icon-shouji' placeholder='账号' />
                <Input type='password' icon='icon-mima' placeholder='密码' />
                <Btn name='登陆' loginClick={this.loginClick.bind(this)} />
                <div className='loginbtn'>
                <Btn className='lobtn' name='免费注册' />
                <Btn className='lobtn' name='游客登陆'  />
                </div>
            </div>
        )
    }
}
